package com.itheima.ydd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.ydd.common.ResultData;
import com.itheima.ydd.entity.SysUserNew;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author author
 * @since 2022-05-22
 */
public interface ISysUserNewService extends IService<SysUserNew> {


    /**
     * @description: 添加管理员
     * @author: 黄伟兴
     * @date: 2022/9/8 9:45
     * @param: [user]
     * @return: com.itheima.ydd.common.ResultData
     **/
    ResultData add(SysUserNew user);

    /**
     * @description: 修改管理员
     * @author: 黄伟兴
     * @date: 2022/9/8 9:43
     * @param: [userNew]
     * @return: com.itheima.ydd.common.ResultData
     **/
    ResultData updateSysUser(SysUserNew userNew);
}
